package com.example.demo.utils;

import org.springframework.lang.Nullable;
import org.springframework.stereotype.Component;

@Component
public class StringUtils {
    public static boolean isEmpty(@Nullable Object str) {
        return str == null || "".equals(str);
    }
}
